/obj/item/weapon/reagent_containers/hypospray/stimpack
	name = "stimpack"
	desc = "A stimpack filled with various chemicals."
	icon = 'Stimpack.dmi'
	icon_state = "stimpack"
	item_state = "stimpack"
	amount_per_transfer_from_this = 5
	volume = 5

/obj/item/weapon/reagent_containers/hypospray/stimpack/New()
	..()
	reagents.remove_reagent("tricordrazine", 30)
	update_icon()
	return

/obj/item/weapon/reagent_containers/hypospray/stimpack/attack(mob/M as mob, mob/user as mob, obj/item/weapon/W as obj)
	..()
	update_icon()
	if(istype(W,/obj/item/weapon/reagent_containers/glass/beaker))
		user << "\blue You inject [W] with \the [src]."
		var/trans = reagents.trans_to(W, amount_per_transfer_from_this)
		user << "\blue [trans] units injected. [reagents.total_volume] units remaining in \the [src]."
	return

/obj/item/weapon/reagent_containers/hypospray/stimpack/update_icon()
	if(reagents.total_volume > 0)
		icon_state = "[initial(icon_state)]1"
	else
		icon_state = "[initial(icon_state)]0"

/obj/item/weapon/reagent_containers/hypospray/stimpack/examine()
	..()
	if(reagents && reagents.reagent_list.len)
		for(var/datum/reagent/R in reagents.reagent_list)
			usr << "\blue It currently has [R.volume] units of [R.name] stored."
	else
		usr << "\red It is currently empty."


////////////////////////
//The Actual Stimpacks//
////////////////////////


/obj/item/weapon/reagent_containers/hypospray/stimpack/Adrenaline
	name = "Adrenaline Stimpack"
	desc = "A stimpack filled with various chemicals to induce effects on the user that replicates Adrenaline."
	amount_per_transfer_from_this = 30
	volume = 30

/obj/item/weapon/reagent_containers/hypospray/stimpack/Adrenaline/New()
	..()
	reagents.add_reagent("hyperzine",10)
	reagents.add_reagent("tricordrazine",10)
	reagents.add_reagent("tramadol",10)
	update_icon()
	return

/obj/item/weapon/reagent_containers/hypospray/stimpack/Zombie
	name = "Fake-Death Stimpack"
	desc = "A stimpack filled with various chemicals to induce effects on the user that replicates death. WARNING: Time for Fake-Death to ware off is undetermined. Potentially fatal."
	amount_per_transfer_from_this = 5
	volume = 5

/obj/item/weapon/reagent_containers/hypospray/stimpack/Zombie/New()
	..()
	reagents.add_reagent("zombiepowder",5)
	update_icon()
	return

/obj/item/weapon/reagent_containers/hypospray/stimpack/Zombie/attack(mob/M as mob,mob/user as mob)
	..()
	del(src)

/obj/item/weapon/reagent_containers/hypospray/stimpack/Strength
	name = "Strength Stimpack"
	desc = "A stimpack filled with various chemicals to induce effects on the user that enhances the musceles for a short amount of time (approximately thirty seconds). WARNING: Also induces hallucinations for a short amount of time."
	amount_per_transfer_from_this = 5
	volume = 5

/obj/item/weapon/reagent_containers/hypospray/stimpack/Strength/New()
	..()
	reagents.add_reagent("stoxin",5)
	update_icon()
	return

/obj/item/weapon/reagent_containers/hypospray/stimpack/Strength/attack(mob/M as mob,mob/user as mob)
	..()
	M.augmentations.Add(SUPRSTR)
	sleep(300)
	M.augmentations.Remove(SUPRSTR)

/obj/item/weapon/reagent_containers/hypospray/stimpack/EVA
	name = "Strength Stimpack"
	desc = "A stimpack filled with various chemicals to induce effects on the user that enhances the musceles for a short amount of time (approximately thirty seconds). WARNING: Also induces hallucinations for a short amount of time."
	amount_per_transfer_from_this = 5
	volume = 5

/obj/item/weapon/reagent_containers/hypospray/stimpack/EVA/New()
	..()
	reagents.add_reagent("stoxin",5)
	update_icon()
	return